package Visitor;

/**
 * @Author zhangjinxi
 * @Date: Created in 10:15 2018/3/2
 * @Description:
 */
public class VisitorTest {

    public static void main(String[] args) {

        Visitor visitor = new MyVisitor();
        Subject subject = new MySubject();
        subject.accept(visitor);

    }

}
